Fixed issue with upload button remembering last upload type.