Alert and error messages added for checkboxes in the aphas#index page

If the server is down, closed or unavailable, the user will get notified once he plays with the checkboxes.