Bug 1048228 - Set the last used keyboard as default after restart of the phone

`saveCurrentActiveLayout()`

and we should not save arbitrary layout object here, and should accept only "(manifestURL, layoutId)" tuple here.