Updating button classes