i had that once and still do!!!! after a month he has adapted well and once when i tried to release him and i took him out of his cage and on the floor. he climbed up the glass and ran back inside!!!!
first off. what size tank do you have mine is in a 2.5 gallon tank with two levels for now since hes small and i don't wanna stress him from all the space of a ten gallon.
first off, for your problem, he probably won't eat for a week, mine didn't, but finally after 8 days he ate three flightless fruit flies. Give him some time to adapt