Can i track layout changes throw the code.For example when i choose second layout add some empty rows into grid ?