Added settings in preferences dialog