Added preferences and language choosing