Update method setStatus: self -> static

Bugfix