Fixed MainPage file.
Fixed   RestoreWorkingCopyOfDatabase(string databaseWorkingPath)  method that was causing test fail. Switched to virtual method to avoid copypaste.