Fixed bug with adjustSelectData()
Fixed layout of flash messages