Added button hiding.