Update receiver.php

Fixed bug with setPrimaryReceiver