fixed empty self.savedPosts array and made kAPI