Can't save App code, bad import

The code is in this post, in the device handler: