connected button to view controller