CCreated a function that changes title. Reuse the code, Cristi!