make selected buttons selected