fixed timerTask cancel logic, refactoring, impl menu popup dialog