New method to create buttons

This method creates button with its cordinates in the view, size,
action to perform and title.