Title of the graph changed based upon the user choice