[imp]implemented spinner logic and save and load data