fixed bug where clicking switches appearance every time
Merge pull request #85 from joh641/bugfix/switching_view_button

fixed bug where clicking switches appearance every time