fix: resolved redundant code, unused code, and reference errors, plus updated SubmitBuildingActivity layout