Fixes NPE crash after the call has ended.
Does not allow to open settings when there is a call in progress.