Made buttons change css class instead of changing css