Refactored mobile code
Added refresh button into log view dialog