Code improvement
Incude when apple store is closed. Also bug fix in for-loop