Learning different methods of button listeners in Android