Added to send pay deny when activity pauses. Fixed debug messages.