Name of the next level can now really be passed to the changeToLevel function in the root. If a wrong string is passed to the method, the program will crash.