readded selected class for buttons