change setreceiver location from initialize to appear