Made connection between all buttons to all pages