add sharedpreference to startpage, saving and loading data