Change connection fail alert type with some tricks