Fix bug when popover stay visible when user tap any bar button item.