Refactored bad code in pomodoro controller. Added alert dialogs when pomodoro and break finishes.