Added clickfunctions for buttons