Buttons declarations and connection