adds todays date to the title if the title is not empty