Fix: mobile switch
* variable for mobile support cannot be used in this context because it only says that the user wants to activate the mobile template, we actually want to now if we are on a mobile device or not