Fixed duplicate code in layoutHorizontal and layoutVertical methods
Used cleaned up ErrorLogView using EasyGridFactory
Cleaned up StateView using EasyGridFactory