Add app 'puzzle'. Update app 'mainpage'.