Added preferences menu