add bg condition for home and dash