Filling view with key and value