fix missing status variable declaration in setBag.

setBag: refreshIcon(status) needs to be valid. FireFox 20 caused a problem