prevent duplicate entries in transaction history , remove event listeners on navigation window on iOS