Fixing saving of title in browser history
Removing temporary functions to update database layout