fixed bug with android closing activity - at least it look like fixed

code optimizations - use TimeFormatter in more places
code optimizations - a class for Alert dialogs - you must say if its ok,
or its not the best way to do this. I hope that changing dialog look
will only requier changes in MyDialog class but Im not sure.