Modifications for Online/Offline status button