Fixed small bug when pressing F10 (to save), plus updated db layer submodule.