Finally got the botton working on gui