(Nikita)added UserDefaults to save last visited board