Changed the license on the files and fixed a bug in the saved instance state