Bugfix by turegjorup: Added default case to upload action / set provider