Update showing/hiding buttons