add function errorCH to change color of button and input

also add to check if the user select location or not also check if it
enter something or not