adding titlechange to example, moving title and icon out of modes