Replace if else with switch for status control flow.
Replace if else with switch for status control flow.

songsinh88/CargoBay,vvw/CargoBay,dxd214/CargoBay,LiuDeng/CargoBay,hanhailong/CargoBay,ycaihua/CargoBay,mattt/CargoBay