#6 added global variable
changed color of Home navigation button
#6 removal of unneeded code and a fix
#6 rehide grid
recursively call showgrid to show/hide appbar childgrid if it exist

Instead of having to call showgrid twice form everywhere