fix popoup menu missing problem for API Level < 11