Test task for interview
fix saving all data to localstorage