App crashes if "Pin to screen" run twice