Update to AS/gradle, Add PrefSaver and PrefReader