function to change title in sheme popup