Add a class to the currently selected item