preferences dialog added