Setting the globals to default when loading view