Fixed some minor bugs

Changed it so that editJob page is only updated when one clicks on the
editJob button