Learning Appcelerator by hacking the TODO example