Added preparations for using buttons