Added button to change online/offline status of application