bz19833: fix pause/resume context menu logic