Refactored popup to sense the recorder status