Solution for issue 9 (refactor preference fragment) and issue 12 (version info)