fix preference activity