fix popup activity to work with listactivity