fix bottom navigation of daily viewer
add logging and refactor running of db query to own method
fix server address
optimise fragment usage