Code Editor : check_pgactivity