Removed unused variables on DatabaseWidget