Fix tests for navigation
Add ajax file for saving the setting