bug catching code
fixed merge conflicts, kept Rob's changes
fixed null pointer bug in populateList()
fixed bug which meant UI List wasn't refreshed when the user pressed refresh. Fixed bug which meant database wasn't refreshed on app start.