Working settings pages buttons (mostly) & bugfixes