Fix coding style
Remove the state parameter from setStatus