connecting to last connected device on start