Solved preferences menu. Now Ok