Fixed bug in savewithGSON