remove preferences tab and make sure the create deck panel is cleared if cancel is pushed and the create deck panel is reopened