Try to refactor gymdetailscreen and classdetailscreen to use nav args instead of the openGym and openClass functions