added alarm manager and service for persistant app