Improving tests of showFileSave by mocking thread logic in android ui
Moving duplicated away code from ui implementations to controller