which method is used in smart recorder to select a button