Added function to each main button

Added function to each main button
interface understanding

interfaces