         }
         
         dismissViewControllerAnimated(true, completion: nil)
+    }
 }
-}

                        break
                    }

                    mediaInfo = [
                        "github": [[
                            "name": githubRepo.name,
                            "full_name": githubRepo.fullName,
                            "description": githubRepo.repoDescription,
                            "url": githubRepo.URLString,
                        ]]
                    ]

                    kind = .GithubRepo

                        break
                    }

                    let shotInfo = [
                        "shot_id": dribbbleShot.shotID,
                        "title": dribbbleShot.title,
                        "description": dribbbleShot.shotDescription,
                        "media_url": dribbbleShot.imageURLString,
                        "url": dribbbleShot.htmlURLString,
                        "created_at": dribbbleShot.createdUnixTime,
                    ]

                    mediaInfo = [
                        "dribbble": [shotInfo]
                    ]

                    kind = .DribbbleShot
