Changed absoluteLayout to stackLayout