Delete else{ //TODO }

There is nothing in else{},so delete else{ //TODO }