changed from using shelve for save to using pickle because of android