Refactor for better handling of actual SD mount event.