fixed connection behaviour

Version 0.3.2
+Check if the string is empty or not
+Added status bar

Signed-off-by: lg188 <lander.ghekiere@gmail.com>