Added further server changes
Working gesture control
Removed activity deactivation because of bad UX