Fixed nullpointer issues with save/load button initialization