Added menu close on buy toggle