According to Elan , the keyboard work in the song bears resemblance to that in from " Only Girl ( In the World ) " and the melody is similar to that of " Complicated " , a track included in Rihanna 's 2010 studio album " Loud " .