Fix screen navigations and enabling and disabling of the links.