If Else loop to receive Boolean

Also, your syntax for the 'else' is completely wrong.

  else (connectedSTATUS == false); // 'if' is missing and ';' incorrectly terminates the statement

should be

  else if (connectedSTATUS == false)

or just

  else

as mentioned above.