Modified css and java app layouts