storing uploadButton state in sqUploadState factory