Fix problem in actionbar menu actions.