added photo limitation option in settings