clears instance variable select in clear() method.