Updated preferences dialog