preferences ui fixes