Move warnings limit for usages to settings and app.py

- Move warnings limit for usages to settings and app.py