Selected class toggle implemented.