Removed watch on data.xml and implemented eventlistener to handle menu actions.