Changed order of layout modification to before its populated to prevent crash
Changed order of layout modification to before its populated to prevent crash

ChilliWorks/CSTest,ChilliWorks/CSTest,ChilliWorks/CSTest,ChilliWorks/CSTest