Fix for menu appearing automatically

Signed-off-by: Gaurav Munjal <Gaurav0@aol.com>