Added a function for changing the editing property

A function has been added to change the editing properties depending on
if it’s desktop or mobile version. This function is now called when
accessing the desktop version from mobile devices.
Removed the settings button from mobile version
Merge pull request #435 from HGustavs/codeviewer-bugfix-mobile-#318

Codeviewer bugfix mobile #318