Added @Override to anonymous inner class