Improvements and additions

fix: Sleep wakelock timer is waking properly
update: start services ONLY if they need to be started. updateEventConditionTimers
fix: root permission stalling, preferably put root check on the beginning of app updateEventConditionTimers
fix: if closing main activity (main window), don't restart the service and all that crap