Fixes GH-121 - PopupMenu Fragment Not Attached to Activity

Ensures that Fragment is attached to Activity before attempting to
startActivity

Signed-off-by: Ian Lake <ian.hannibal.lake@gmail.com>