Fixes bug where clicking mode switch button triggers conversion