rewrite preference screen