first restore uri, the call super, which allows to set button state correctly