fix menu not disappearing correctly
new initializer to send an object as argument to selector