if(boolean == true)? if(boolean)?

Change if(xxxx==true) to if(xxxx)