switchmodeButton toggles image if mode is changed