implementing clear VC and delegation to show debug menu