Change the key signature

Help → | French → | Change the key signature |
Activate the tools tab (using the mouse or the Alt+N hotkey).
Press the arrow on the button and choose a new key signature from the list.
Move the mouse cursor over the desired position in the staff and press the left mouse button.