Implemented menu generation cancel