reorganize popupActivity