Added trigger to initiate views when they are not initialized when restarting application