Added stop and refresh functions to popup menu