Fixed crash on pin update when not connected