insignificant commentaries removed
The only thing is left to do is to add work with alarm manager and notification bar. App is quite stable for now.