set default preferred orientation.