Active button wasn't working