Fragment handles user interaction.