Made buttons work