Fix app not properly freezing data sharing