Added function for changing layer title