open/close market buttons working