Set label name, and function for title
Adding function to set title