Oops

Fixed settings closing immediately.