Added id to preference window which is required.