added handler and messenger to activity