Made storeViews function only run once

This is because overhead of calling mulitple times
is bad for performance. Duh.