Move fragment preferences to AbstractFragment