loading code and boolean values, added confirmation before switching to recrod selection screen from form