Fixed issue where the app wouldn't close certain screens when a contract is accepted