message based event manager on android