did some stuff with buttons and resources
added data saving