1) renamed some variables, methods, classes and activities
2) fixed storing of time periods between pressing start and stop buttons in database