Handle SdCard in connected and disconnected states.