added "zoom function" for cards with extra table in database.
tried to fix non transient connection exception: no current connection