Question: What book was the basis for the film which includes "Dancing in the Dark" by Barbadian singer Rihanna on its soundtrack?

Context articles: Russian Roulette (song)
Man Down (song)
Dancing in the Dark (Rihanna song)
Rihanna videography
Music of the Sun
Good Girl Gone Bad Live
Sledgehammer (Rihanna song)
Home (soundtrack)
Towards the Sun (song)
Cold Case Love

"Russian Roulette" is a song recorded by Barbadian singer Rihanna for her fourth studio album, "Rated R" (2009).
 It premiered on radio stations worldwide on October 20, 2009 and was released as the album's lead single on October 27 through Def Jam Recordings.
 Written and produced by Ne-Yo and Chuck Harmony, "Russian Roulette" is a pop and R&B ballad that contains dark, morbid, and tense atmospheric elements in its composition.
 Lyrically, the single is about an abusive romantic relationship that ended abruptly.
 Music critics noted the lyrical theme as a response to the domestic violence case between Rihanna and her then-boyfriend, singer Chris Brown.
"Man Down" is a song by Barbadian singer Rihanna from her fifth studio album, "Loud" (2010).
 Singer Shontelle and production duo Rock City wrote the song with its main producer, Sham.
 They wrote it during a writing camp, in Los Angeles of March 2010, held by Rihanna's record label to gather compositions for possible inclusion on the then-untitled album.
 Rock City were inspired by Bob Marley's 1973 song "I Shot the Sheriff" and set out to create a song which embodied the same feel, but from a female perspective.
 "Man Down" is a reggae murder ballad which incorporates elements of ragga and electronic music.
 Lyrically, Rihanna is a fugitive after she shoots a man, an action she later regrets.
 Several critics singled out "Man Down" as "Loud"' s highlight, while others commented on her prominent West Indian accent and vocal agility.
"Dancing in the Dark" is a song recorded by Barbadian singer Rihanna for the soundtrack to the 2015 film "Home".
 It was written by Ester Dean, Maureen Anne McDonald and Rihanna together with its producers Stargate.
Barbadian singer Rihanna has released four video albums and appeared in fifty-two music videos, six films, ten television programs, and eight television commercials.
 In 2005, Rihanna signed a recording contract with Def Jam Recordings and released her debut single "Pon de Replay", taken from her first studio album "Music of the Sun" (2005).
 Like its lyrical theme, the music video for the song was inspired by disco and dance; it was directed by Little X.
 Three separate videos were released for "SOS", the lead single from her second studio album "A Girl Like Me" (2006), all of which contained various dance sequences.
 The same year, American director Anthony Mandler directed the accompanying music video for the second single "Unfaithful", which featured Rihanna in a dangerous love triangle with her lover and her husband.
 "Unfaithful" was Rihanna's first collaboration with Mandler; they later worked together regularly.
 Also in 2006, Rihanna played herself in the third installment of the "Bring It On" film series, entitled "".
Music of the Sun is the debut studio album by Barbadian singer Rihanna.
 It was released on August 30, 2005 in the United States through Def Jam Recordings.
 Prior to signing with Def Jam, Rihanna was discovered by record producer Evan Rogers in Barbados, who helped Rihanna record demo tapes to send out to several record labels.
 Jay-Z, the former chief executive officer (CEO) and president of Def Jam, was given Rihanna's demo by Jay Brown, his A&R at Def Jam, and invited her to audition for the label after hearing what turned out to be her first single, "Pon de Replay".
 She auditioned for Jay-Z and L.A. Reid, the former CEO and president of record label group The Island Def Jam Music Group, and was signed on the spot to prevent her from signing with another record label.
Good Girl Gone Bad Live is the first live long-form video by Barbadian singer Rihanna.
 It was first released on June 9, 2008 by Def Jam Recordings.
 The DVD and Blu-ray release features Rihanna's concert at the Manchester Arena in Manchester, United Kingdom held on December 6, 2007, as part of her Good Girl Gone Bad Tour (2007—2009) which supported singer's third studio album "Good Girl Gone Bad" (2007).
 Most of the concert's set list originates from "Good Girl Gone Bad", however, Rihanna also performed songs from her previous albums "Music of the Sun" (2005) and "A Girl like Me" (2006).
 It also contains a special Documentary Feature that presents Rihanna discussing her experiences during the tour.
"Sledgehammer" is a song recorded by Barbadian singer Rihanna.
 It was released on June 27, 2016 as a single to promote "Star Trek Beyond".
 It plays during the film's closing credits but is not included on the film's soundtrack.
 The song was written by Sia Furler (Sia), Robyn Fenty (Rihanna) and Jesse Shatkin.
 A music video for the song was released on June 30, 2016, and shows Rihanna performing magical acts on a foreign planet.
 The video was shot entirely on IMAX cameras.
Home: Original Motion Picture Soundtrack is the soundtrack album for "Home", a 2015 animation film based on the 2007 children book "The True Meaning of Smekday" by Adam Rex.
 It features songs recorded by Rihanna, Clarence Coffee Jr., Kiesza, Charli XCX, Jacob Plant, and Jennifer Lopez.
 It was released on March 23, 2015 through Westbury Road and Roc Nation.
 Following the announcement that Rihanna would star in the film, it was revealed she would release a concept album based on the animated film.
 As the executive producer of the soundtrack, she called on various artists to feature on the album.
 Rihanna's "Towards the Sun" and Jennifer Lopez's "Feel the Light" were released as singles to promote the album.
"Towards the Sun" is a song recorded by Barbadian singer Rihanna for the soundtrack to the 2015 film "Home".
 The song premiered on BBC Radio 1 on February 24, 2015 and it was released for digital download as the soundtrack's lead single the same day though Westbury Road.
 The song was set to impact mainstream radio on March 17, 2015 however the radio release was cancelled.
 The song was written and produced by Tiago Carvalho and Gary Go, with an additional writing done by Rihanna.
"Cold Case Love" is a song recorded by Barbadian singer Rihanna for her fourth studio album, "Rated R" (2009).
 It was written and produced by The Y's (Justin Timberlake, Robin Tadross and James Fauntleroy II).
 Following Chris Brown's assault on Rihanna, she started working on the sound of her new album.
 Timberlake who co-wrote "Cold Case Love" labeled the sound of Rihanna's new project as a step forward for the singer.
 In February 2010, Rihanna admitted that the song's lyrics are about her complicated relationship with Brown.