Added buttons to PreviewActivity

Fixed ImageDirectoryPagerAdapter so now it updates fragments on fs changes.
Moved whole share routine to separate class.